package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.RyOrder;

/**
 * 订单Service接口
 * 
 * @author ruoyi
 * @date 2024-09-25
 */
public interface IRyOrderService 
{
    /**
     * 查询订单
     * 
     * @param id 订单主键
     * @return 订单
     */
    public RyOrder selectRyOrderById(Long id);

    /**
     * 查询订单列表
     * 
     * @param ryOrder 订单
     * @return 订单集合
     */
    public List<RyOrder> selectRyOrderList(RyOrder ryOrder);

    /**
     * 新增订单
     * 
     * @param ryOrder 订单
     * @return 结果
     */
    public int insertRyOrder(RyOrder ryOrder);

    /**
     * 修改订单
     * 
     * @param ryOrder 订单
     * @return 结果
     */
    public int updateRyOrder(RyOrder ryOrder);

    /**
     * 批量删除订单
     * 
     * @param ids 需要删除的订单主键集合
     * @return 结果
     */
    public int deleteRyOrderByIds(Long[] ids);

    /**
     * 删除订单信息
     * 
     * @param id 订单主键
     * @return 结果
     */
    public int deleteRyOrderById(Long id);
}
